package thinkInJava.chap13String;

/**
 * @description:
 * @author: Lisp
 * @time: 2020/9/16 10:21
 */
public class Immutable {

    public static String upcase(String s) {
//        return s.toUpperCase();
        return "";
    }

    public static void main(String[] args) {
        String q = "howdy";
//        char c = q.charAt(1);
//        System.out.println(c);
//        byte[] bytes = q.getBytes();
//        char[] chars = q.toCharArray();
//        for (char ch:chars) {
//            System.out.println(ch);
//        }
//
//        System.out.println(q);

//        String qq = upcase(q);
//        System.out.println(qq);
//
//        System.out.println(q);

    }
}
